Date

Returns the date in MM/DD/YYYY format based on integers that represent the year, month, and day.

Syntax

Date(Year, Month, Day)

Arguments

Argument Description
Year Year integer.
Month Month integer.
Day Day integer.

Return value

Value Description
Value Date in MM/DD/YYYY format.

Example

dateCreated = Date(2016, 5, 14)

Window("BugReporter").Editbox("editboxCreatedDate").SetText(dateCreated)